package com.icloud.article.boot.dto;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("取消分享dto")
@Data
public class CancelForwardDto {
    @ApiModelProperty(value = "新帖id", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long id;

    @ApiModelProperty(value = "原帖id", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long originalId;

    @ApiModelProperty(value = "分享人id,只有分享人才能取消分享,因此取消分享的当前客户应该与分享Id相同", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long forwardId;
}
